﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StarPhar.Entity;
using System.Web.Script.Serialization;

namespace StarPhar
{
    public static class DataServices
    {
        public static PNProDBV1114Entities DataContext { get; set; }
        public static JavaScriptSerializer Jsoner = new JavaScriptSerializer();

        public static void Initialize()
        {
            DataContext = new PNProDBV1114Entities();
        }

        public static void Refresh()
        {
            DataContext = new PNProDBV1114Entities();
        }
    }
}